<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    /*body div div p{
      color:red;
    }*/
   /* body>div>p{
      color: red;
    }*/
    /*body>div>div>p{
      color: red;
    }*/
    div>div>p{
      color: red;
    }
    a:link{color: red}
    a:visited{color: pink}
    a:hover{color: green}
    a:active{color: yellow}
  </style>
</head>
<body>
<a href="http://www.tedu.cn">超链接1</a>
<a href="http://doc.canglanshi.org">超链接2</a>
<a href="http://www.qq.com">超链接3</a>
<p>p1</p>
<div>
  <p>p2</p>
  <div><p>p3</p></div>
  <div>
    <p>p4</p>
    <div><p>p5</p></div>
  </div>
</div>
</body>
</html>